package com.smedi.ismedi.authoritymanagement.api.dto.response;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@Data
public class NodeInfoResponse implements Serializable {
    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "节点id")
    private String nodeId;

    @ApiModelProperty(value = "节点名字")
    private String nodeName;

    @ApiModelProperty(value = "节点类型")
    private String type;

    @ApiModelProperty(value = "能否选择")
    private boolean enable = true;

    @ApiModelProperty(value = "子节点")
    private List<NodeInfoResponse> children = new ArrayList<>();
}
